/*
 *
 * Copyright(c) 2010 Safelayer Secure Communications
 *
 * This is open source software, placed under the terms of the
 * GNU GENERAL PUBLIC LICENSE Version 3.
 * Please see: http://www.gnu.org/licenses/gpl-3.0.txt
 * 
 * Permission to use, copy, modify, and distribute this software
 * for any purpose and without fee is hereby granted, provided
 * that the above copyright notices appear in all copies and that
 * both the copyright notice and this permission notice appear in
 * supporting documentation.
 * 
 */
package com.neuralnoise.foaf.core;

import java.math.BigDecimal;

/**
 * According to the FOAF specification the class {@link Person} is a subclass of
 * {@link SpatialThing}. As java language does not support multiple inheritance and Person class is coded
 * as subclass of {@link Agent}, the class {@link Person} must implement this interface.
 * 
 * @author victor.martinez <swtp@safelayer.com>
 */
public interface Spatial {

	/**
	 * @return the latitude.
	 */
	BigDecimal getLatitude();

	/**
	 * @param latitude The latitude to set.
	 */
	void setLatitude(BigDecimal latitude);

	/**
	 * @return the longitude.
	 */
	BigDecimal getLongitude();

	/**
	 * @param longitude The longitude to set.
	 */
	void setLongitude(BigDecimal longitude);

	/**
	 * @return the altitude.
	 */
	BigDecimal getAltitude();

	/**
	 * @param altitude The altitude to set.
	 */
	void setAltitude(BigDecimal altitude);

}